alist = [1, 2, 3, 'bob', 'alice']
print(alist)
alist[0] = 0
print(alist)
alist[1:3] = [20, 30]
print(alist)
alist[2:2] = [22, 24, 26, 28]
print(alist)
alist.append(100)
print(alist)
alist.remove(24)
print(alist)

blist = alist.copy()
print('blist:', blist)
alist.insert(1, 15)
print(alist)
print('pop:', alist.pop())
print(alist)
print('pop2:', alist.pop(2))
print(alist)
print('pop bob:', alist.pop(alist.index('bob')))
print(alist)
# alist.sort()
print('sort:', alist)
alist.reverse()
print('reverse:', alist)
print('count20:', alist.count(20))
alist.clear()
print('clear:', alist)
alist.append('new')
print(alist)
alist.extend('new')
print(alist)
alist.extend(['hello', 'world', 'hehe'])
print(alist)

